package com.wxy.test1.problem2;

public class CAPostalCodeAdapter extends CanadianPostalCode implements ZipCodeValidator  {

    private CanadianPostalCode objCPostCode;

    public CAPostalCodeAdapter(CanadianPostalCode pCode) {
        objCPostCode = pCode;
    }
    public boolean isValidZipCode(String zip, String state) {
        return isValidCanadianPcode(zip, state);
    }
}// end of class

